﻿using System.Collections.Generic;
using ControleRepresentante.Common;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;

namespace WebSite.ViewModels.ViewModelExtensions.DetailsViewModelExtensions
{
    public class RelatorioVisitaJolitexDetailsViewModel : JolitexDetailsViewModel<RelatorioVisita>
    {
        protected override IEnumerable<IField> GetGeralAdditionalFields(RelatorioVisita model)
        {
            yield return new LabelField("Ocorrência", "ocorrencia", model.RelatorioVisitaJolitex.Ocorrencia.GetDescription());
        }
    }
}